/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.votedata.voteunit.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.votedata.voteunit.entity.VoteUnit;
import com.jeeplus.modules.votedata.voteunit.mapper.VoteUnitMapper;

/**
 * 领导班子Service
 * @author 刘明星
 * @version 2021-11-18
 */
@Service
@Transactional(readOnly = true)
public class VoteUnitService extends CrudService<VoteUnitMapper, VoteUnit> {

	public VoteUnit get(String id) {
		return super.get(id);
	}
	
	public List<VoteUnit> findList(VoteUnit voteUnit) {
		return super.findList(voteUnit);
	}
	
	public Page<VoteUnit> findPage(Page<VoteUnit> page, VoteUnit voteUnit) {
		return super.findPage(page, voteUnit);
	}
	
	@Transactional(readOnly = false)
	public void save(VoteUnit voteUnit) {
		super.save(voteUnit);
	}
	
	@Transactional(readOnly = false)
	public void delete(VoteUnit voteUnit) {
		super.delete(voteUnit);
	}
	
}